from flask import Flask       #导包
from flask.blueprints import Blueprint
# from flask.helpers import url_for
# from user import user

 #创建一个实例对象对象
app = Flask(__name__)
# app.register_blueprint(user)

#创建路由
@app.route('/index/')   #访问index地址
def index(): 
   return "hello word"     #返回index中的内容
if __name__ =='__main__' :
 app.run(port=5000,debug=True,host='0.0.0.0')
 